package forum;
import java.io.IOException;


public class FacInspector {
	public static void main(String[] args) throws IOException, ClassNotFoundException {
		ForumFactory fac = ForumFactory.load();
		System.out.println(fac.getItems().size() + " items");
		for (ForumItem fi : fac.getItems().values())
			System.out.println(fi);
		System.out.println("\n\n................................\n\n");
		System.out.println(fac.getTags().size() + " tags");
		for (ForumTag tag : fac.getTags().values())
			System.out.println(tag);
		System.out.println("\n\n................................\n\n");
	}
}
